package com.ruoyi.bus;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.entity.SysUser;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("user")
public class UserController extends BaseController {
    /**
     * 个人信息
     */
//    @GetMapping()
//    public String profile(ModelMap mmap)
//    {
//        SysUser user = getSysUser();
//        mmap.put("user", user);
//        mmap.put("roleGroup", userService.selectUserRoleGroup(user.getUserId()));
//        mmap.put("postGroup", userService.selectUserPostGroup(user.getUserId()));
//        return prefix + "/profile";
//    }
}
